#ifndef BACKGROUND_H_
#define BACKGROUND_H_

#include <qstring.h>
#include <qgl.h>


//Type of background
enum eBkgType { SINGLE, BOUNCE };

class background
{
  public:
    void create();
    void clear();
    void paintGL();

 private:
    void LoadImage(QString loadFile, int order);
    void LoadImageFromKFP(QString loadFile, int order);

    float    m_position;
    bool     m_rightDirection;
    int      m_dim;
    float    m_GLSize;
    GLuint   m_texture[2];
    eBkgType m_animType;
};

#endif
